package com.brspace.qualitycontrol.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author wangt
 * @Date 2021/5/7 14:14
 * @Version 1.0
 */
@Data
public class PersonalListVo {
    @ApiModelProperty(value = "ID")
    private String id;
    @ApiModelProperty(value = "类型：0:公文1：三重2：项目3：信访4：农房5：人事6:收文7:发文")
    private int types;
    @ApiModelProperty(value = "标题")
    private String title;
    @ApiModelProperty(value = "编号/文号")
    private String number;
    @ApiModelProperty(value = "来源")
    private String source;
    @ApiModelProperty(value = "日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date times;
}
